using System;
using DevExpress.Xpo;

namespace RemoteImaging.LicensePlate
{

    public class CarCountPerHour : XPObject
    {
        public CarCountPerHour()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public CarCountPerHour(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        private DateTime _time;
        public DateTime Time
        {
            get { return _time; }
            set { SetPropertyValue<DateTime>("Time", ref _time, value); }
        }

        private int _count;
        public int Count
        {
            get { return _count; }
            set { SetPropertyValue<int>("Count", ref _count, value); }
        }
    }

}